// File Name: RotatePatternClientWrapper.h

#ifndef ROTATEPATTERNCLIENTWRAPPER_H
#define ROTATEPATTERNCLIENTWRAPPER_H

#include <UIAutomationCore.h>
#include "IClientWrapper.h"

namespace UIAutomationCPP
{
	public class RotatePatternClientWrapper : public IClientWrapper
	{
		public:
			RotatePatternClientWrapper(IUIAutomationPatternInstance *pInstance);
			~RotatePatternClientWrapper();

			STDMETHODIMP get_CurrentIsReadOnly(BOOL *pIsReadOnly);
			STDMETHODIMP get_CachedIsReadOnly(BOOL *pIsReadOnly);
			STDMETHODIMP get_CurrentValue(BSTR *pValue);
			STDMETHODIMP get_CachedValue(BSTR *pValue);
			STDMETHODIMP SetValue(LPCWSTR pValue);
			STDMETHODIMP Reset();

			HRESULT __stdcall QueryInterface(REFIID riid, void **ppvObj);
			ULONG __stdcall AddRef();
			ULONG __stdcall Release();

		protected:
			IUIAutomationPatternInstance *_pInstance;

		private:
			ULONG refCount;
	};
}
#endif
